package com.caigou.mapper.cms;

import com.caigou.bean.cms.entity.ArticleAudio;
import com.caigou.pojo.ArticleAudioData;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

//@Mapper
//@Repository("ArticleAudioMapper")
public interface ArticleAudioMapper {
    int saveArticleAudioData(ArticleAudio articleAudio);

    ArticleAudioData loadArticleAudioData(@Param("articleId") String articleId);

    int updateArticleAudioData(ArticleAudio articleAudio);

    int deleteArticleAudioByArticleId(@Param("articleId") String articleId);

    ArticleAudio loadArticleAudio(@Param("articleId") String articleId);
}
